<?php

namespace app\store\model;

use think\Model;
use think\model\concern\SoftDelete;

class UserGrade extends Model
{   
    use SoftDelete;

    protected $autoWriteTimestamp = 'int';

    protected $defaultSoftDelete = 0;
    
    protected $schema = [
        'id' => 'int',
        'sort' => 'int',
        'store_id' => 'int',
        'grade_name' => 'string',
        'full_integral_upgrade' => 'int',
        'discount' => 'float',
        'desc' => 'string',
        'is_default' => 'int',
        'status' => 'int',
        'birthday_give_integral' =>'int',
        'create_time' => 'int',
        'update_time' => 'int',
        'delete_time' => 'int',
    ];
}